
#ifndef PROXYEXCEPTION_HPP
#define PROXYEXCEPTION_HPP

#include <exception>
#include <string>

class ProxyException: public std::exception {
private:
	std::string reason;
public:
	ProxyException(const std::string & reason) :reason(reason)   {

	}
virtual ~ProxyException() throw () {

}
	virtual const char* what() const throw(){
		return reason.c_str();
	}
};

#endif /* PROXYEXCEPTION_HPP_ */
